﻿<Window x:Name="GrafikYontemPenceresi" x:Class="SayisalAnaliz.WPF.GrafikYontemPencere"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Grafik Yöntemi ile Kök Bulma" Height="199" Width="521" WindowStyle="ToolWindow" WindowStartupLocation="CenterScreen"  ResizeMode="NoResize">
    <Grid>
        <Label Content="           Fonksiyon :" HorizontalAlignment="Left" Margin="17,8,0,0" VerticalAlignment="Top" Height="27"/>
        <TextBox x:Name="txtFonksiyon" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="121" Margin="127,12,0,0" Text="x^2-6*x+5"/>
        <TextBox x:Name="txtBaslangic" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Margin="127,52,0,0" Text="1,5"/>
        <Label Content="Başlangıç Değeri :" HorizontalAlignment="Left" Margin="18,49,0,0" VerticalAlignment="Top" Height="27"/>
        <Label Content="Değişim Miktarı :" HorizontalAlignment="Left" Margin="23,86,0,0" VerticalAlignment="Top" Height="27"/>
        <TextBox x:Name="txtDegisim" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Margin="128,90,0,0" Text="0,75"/>
        <Label Content="Kabul Edilebilir Hata : " HorizontalAlignment="Left" Margin="0,123,0,0" VerticalAlignment="Top" Height="27"/>
        <TextBox x:Name="txtHata" HorizontalAlignment="Left" Height="23" TextWrapping="Wrap" VerticalAlignment="Top" Width="120" Margin="128,127,0,0" Text="0,01"/>
        <TextBlock HorizontalAlignment="Left" Margin="263,13,0,0" TextWrapping="Wrap" VerticalAlignment="Top"><Run Language="tr-tr" Text="Ör : x^2 -4*x +3"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="263,54,0,0" TextWrapping="Wrap" VerticalAlignment="Top"><Run Language="tr-tr" Text="Ör : 1,5"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="263,91,0,0" TextWrapping="Wrap" VerticalAlignment="Top"><Run Language="tr-tr" Text="Ör : 0,75"/></TextBlock>
        <TextBlock HorizontalAlignment="Left" Margin="263,128,0,0" TextWrapping="Wrap" VerticalAlignment="Top"><Run Language="tr-tr" Text="Ör : 0,01"/></TextBlock>
        <GroupBox Header="Sonuç Paneli" HorizontalAlignment="Left" Margin="363,54,0,0" VerticalAlignment="Top" Height="96" Width="132">
            <Grid HorizontalAlignment="Left" Height="86" VerticalAlignment="Top" Width="120" Margin="0,0,0,-12">
                <Label Content="Bulunan Sonuç" HorizontalAlignment="Left" Margin="10,20,0,0" VerticalAlignment="Top" Width="100"/>
                <Label x:Name="lblSonuc" Content="-" Margin="37,51,0,0" Width="44" VerticalAlignment="Top" HorizontalAlignment="Left" Foreground="Red" FontWeight="Bold"/>
            </Grid>
        </GroupBox>
        <Button x:Name="btnHesapla" Content="Hesapla" HorizontalAlignment="Left" Margin="363,15,0,0" VerticalAlignment="Top" Width="132" Click="btnHesapla_Click"/>

    </Grid>
</Window>
